Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize out DaoTransition call #7468

Merged
merged 1 commit into from
Sep 21, 2024
Merged

Optimize out DaoTransition call #7468

merged 1 commit into from
Sep 21, 2024

Conversation

benaadams
Copy link
Member

@benaadams benaadams commented Sep 21, 2024

Changes

  • Split ApplyDaoTransition into a fast inlinable check path and a slower apply path. Isn't a big performance change but it is only activated for 1 block on 1 chain so its bothering me that it shows up in traces 😅

Before
image
After
image

Types of changes

What types of changes does your code introduce?

  • Optimization

Testing

Requires testing

  • No

@benaadams benaadams merged commit d6f21fc into master Sep 21, 2024
66 checks passed
@benaadams benaadams deleted the dao-transition branch September 21, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants